package main
import "fmt"

func f1() {
	fmt.Println("f1")
}

func f2() {
	defer func() {
		err := recover()
		if err != nil {
			fmt.Println("exception caught, err:", err)
		}
	}()
	var a = 10
	var b = 0
	var c = a / b 
	fmt.Println("c:", c)
}

func f3() {
	fmt.Println("f3")
}
func main() {
	f1()
	f2()
	f3()
}